package it.apiconsulting.wot.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="t_scheda_food")
public class SchedaFood implements Serializable{
	
	private static final long serialVersionUID = -8767337896773261247L;
	
    private Long id;
    private Long idUtente;
    private Long idScheda;
    private Long idFood;
    private Date schedaDate;

	@Id
	@GeneratedValue
	@Column(name="id")
	public Long getId() {
		return id;
	}
	
	@Column(name="id_utente")
	public Long getIdUtente() {
		return idUtente;
	}
	
	@Column(name="id_scheda")
	public Long getIdScheda() {
		return idScheda;
	}
	
	@Column(name="id_food")
	public Long getIdFood() {
		return idFood;
	}
	
	@Column(name="scheda_date")
	public Date getSchedaDate() {
		return schedaDate;
	}
	
	public void setId(Long id) {
		this.id = id;
	}

	public void setIdUtente(Long idUtente) {
		this.idUtente = idUtente;
	}

	public void setIdScheda(Long idScheda) {
		this.idScheda = idScheda;
	}

	public void setSchedaDate(Date schedaDate) {
		this.schedaDate = schedaDate;
	}

	public void setIdFood(Long idFood) {
		this.idFood = idFood;
	}
}
